<?php
declare(strict_types=1);

namespace App\Controller\Admin;

use Hyperf\Di\Annotation\Inject;
use Phper666\JwtAuth\Jwt;

class AuthController extends AdminController
{
    /*
     * @Inject
     * @var Jwt
     */

    protected $jwt;

    public function login()
    {
        return $this->view('admin.login',['name'=>'hyperf']);
    }

    public function loginPost()
    {

    }

    public function changePwd()
    {

    }

    public function logout()
    {
        return '1';
    }

    public function refreshToken()
    {

    }

}
